import React from 'react'
import ReactDOM from 'react-dom'
import { Router, Route, browserHistory, IndexRoute } from 'react-router'

import App from './containers/App'
import Help from './containers/Help'
import Message from './containers/Message'

import 'weui'
import './scss/style.scss'

ReactDOM.render(
  <Router history={ browserHistory }>
    <Route path="/" component={ App } />
    <Route path="/help" component={ Help } />
    <Route path="/message/:id" component={ Message } />
  </Router>,
  document.getElementById('app')
)